// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import fastClick from 'fastclick'   //移动端300ms延迟解决
import VueLazyLoad  from 'vue-lazyload'
import './assets/styles/reset.css'   //重置css
import './assets/styles/border.css'  //移动端1像素边框问题
import './assets/styles/iconfont.css'  //iconfont
import 'swiper/dist/css/swiper.css'

Vue.config.productionTip = false
fastClick.attach(document.body)
Vue.use(VueAwesomeSwiper)
Vue.use(VueLazyLoad,{
	//preLoad:1.3,
    error:'./static/error.png',
    loading:'./static/loading.png',
    //attempt:1
})

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
